//
//  RentModel.h
//  RentTable
//
//  Created by xchuan xchuan on 2024/12/2.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface RentModel : NSObject

@property (nonatomic, assign) NSInteger rentId;
@property (nonatomic, assign) NSInteger rentBuyId;
@property (nonatomic, assign) CGFloat rentPrice;
@property (nonatomic, strong) NSString *rentImage;
@property (nonatomic, strong) NSString *rentDetailImage;
@property (nonatomic, strong) NSString *rentTitle;
@property (nonatomic, strong) NSString *rentType;
@property (nonatomic, strong) NSString *rentDeposit;//商品押金
@property (nonatomic, assign) BOOL rentCollection; //是否收藏
@property (nonatomic, assign) BOOL rentCart; //是否加入购物车
@property (nonatomic, assign) BOOL rentBuy; //是否购买
@property (nonatomic, strong) NSString *rentCondition;//成色
@property (nonatomic, strong) NSString *rentColor;//颜色
@property (nonatomic, assign) NSInteger rentPeriod;//周期
@property (nonatomic, assign) NSInteger rentCount; //数量
@property (nonatomic, strong) NSString *rentOrderNumber;//订单编号
@property (nonatomic, strong) NSString *rentOrderTime ;//订单时间
@property (nonatomic, strong) NSString *rentStartTime ;//起租时间
@property (nonatomic, strong) NSString *rentReturnTime ;//归还时间
@property (nonatomic, strong) NSString *rentConsignee ;//收货人
@property (nonatomic, strong) NSString *rentContactInfo ;//联系方式
@property (nonatomic, strong) NSString *rentReceAddress ;//收货地址

- (instancetype)initWithDictionary:(NSDictionary *)dictionary;
- (NSDictionary *)toDictionary;

@end

NS_ASSUME_NONNULL_END
